package com.pingba.entity.friend;

import com.pingba.entity.BaseEntity;

import java.util.Date;

/**
 * Created by Administrator on 2016/1/5 0005.
 */
public class BlackList extends BaseEntity {

    private long sid;
    private long userId;
    private long ignoreId;
    private boolean deleted;
    private Date ignoreDate;


    public static BlackList getDefault(long userId,long ignoreUserId) {
        BlackList bl = new BlackList();
        bl.setIgnoreId(ignoreUserId);
        bl.setUserId(userId);
        bl.setDeleted(false);
        bl.setIgnoreDate(new Date());
        return bl;
    }
    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public Date getIgnoreDate() {
        return ignoreDate;
    }

    public void setIgnoreDate(Date ignoreDate) {
        this.ignoreDate = ignoreDate;
    }

    public long getIgnoreId() {
        return ignoreId;
    }

    public void setIgnoreId(long ignoreId) {
        this.ignoreId = ignoreId;
    }

    public long getSid() {
        return sid;
    }

    public void setSid(long sid) {
        this.sid = sid;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }
}
